﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nasty.Characters;

namespace Nasty
{
    public class Player
    {
        private string name;
        //config des boutons aussi...

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public void enterPlayerName(string n)
        {
            name = n;
        }

        public void confirmPlayerName(Profile profile)
        {
            profile.PlayerName = name;
        }
    }
}
